
function getsubjectdata(){
  return new Promise(function (resolve, reject) {
    wx.request({
      url: 'http://127.0.0.1:8110/api/edu/subject/nested-list',
      // header: {
      //   "Authorization": "Bearer eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjhjZjNhNzI3LTdjYzUtNGJjZi1iMDIwLTQzMWE0NmIzN2YyMCJ9.7IAWg0OU4kvkLriCkc0-wDgD218YaU7AUd_wEJCk6QHuRt78f5Ea5WvBuLbcznbF2P5Z_Z9T7K28sFEH1y0Ljg"
      // },
    
      type: "json",
      success: function (res) {
        resolve(res.data)
      }
    })
  })
}

module.exports = {
 
  subjectdata:getsubjectdata
}